<nav ng-if="pages.length >= 2">
    <ul class="pagination">
        <li><a ng-click="selectPage(1)">第一页</a>
        </li>
        <li><a ng-click="selectPage(currentPage - 1)">&lt;</a>
        </li>
        <li><a>
            <page-select>{{currentPage}}</page-select>
            of {{numPages}}</a>
        </li>
        <li><a ng-click="selectPage(currentPage + 1)">&gt;</a>
        </li>
        <li><a ng-click="selectPage(numPages)">最后一页</a></li>
    </ul>
</nav>